package com.dengjk.codegenerator.service;


import com.dengjk.codegenerator.model.DbConfig;
import com.dengjk.codegenerator.model.TableInfo;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public interface CodeService {

    public List<TableInfo> getAllTables(DbConfig dbConfig);

    public TableInfo getAllColumns(String tableName, DbConfig dbConfig);

    public void saveComment(TableInfo tableInfo, DbConfig dbConfig);

    public String testConnection(DbConfig dbConfig);


}